package controller;

import java.awt.AWTException;
import java.awt.Color;
import java.awt.Robot;

public class MyRobot extends Robot{

	public MyRobot() throws AWTException {
		super();
	}
	
	public Color getPixColor(double x, double y) {
		
		return getPixelColor((int)x, (int)y);
	}
	
	public void mouseTo(double x, double y)
	{
		mouseMove((int)x, (int)y);
	}
}
